# dsgwsearchprefs.conf - directory server gateway search object definitions


# the current version of this file format is 1
Version 1


# Name for this search object
People
# options (the only one supported right now is "internal" which means that
#   this search object should not be presented directly to the user)
#   use "" for none
""
# Label to place before text box user types in
"Search For:"
# Filter prefix to append to all searches
"(&(objectClass=person)"
# Tag to use for "Fewer Choices" searches - from ldapfilter.conf file
"dsgw-people"
# If a search results in > 1 match, retrieve this attribute to help
# user disambiguate the entries...
not-used-by-dsgw
# ...and label it with this string:
not-used-by-dsgw
# Search scope to use when searching
subtree
# Follows a list of "More Choices" search options.  Format is:
# Label, attribute, select-bitmap, extra attr display name, extra attr ldap name
# If last two are null, "Fewer Choices" name/attributes used
"full name"                     cn                 111111  ""  ""
"last name"                     sn                 111111  ""  ""
"phone number"                  "telephoneNumber"  111011  ""  ""
"e-mail address"                "mail"             111111  ""  ""
"user id"                       "uid"              111111  ""  ""
"title"                         title              111111 "" ""
END
# Match types
"is"               		"(%a=%v))"
"is not"               		"(!(%a=%v)))"
"sounds like" 		        "(%a~=%v))"
"starts with"                   "(%a=%v*))"
"ends with"                     "(%a=*%v))"
"contains"                      "(%a=*%v*))"
END


Groups
""
"Search For:"
"(&(|(objectClass=rfc822MailGroup)(objectClass=groupOfNames)(objectClass=groupOfUniqueNames))"
"dsgw-groups"
not-used-by-dsgw
not-used-by-dsgw
subtree
"name"  	                 cn                    111111  ""       ""
"description"                   multilineDescription  111011  ""       ""
"owner"                         "owner"               000011  "owner"  "Owner"
"member"                        "member"              000011  ""       ""
"e-mail member"                 "mail"                001011  ""       ""
END
"is"                            "(%a=%v))"
"is not"                        "(!(%a=%v)))"
"sounds like"		        "(%a~=%v))"
"starts with"                   "(%a=%v*))"
"ends with"                     "(%a=*%v))"
"contains"                      "(%a=*%v*))"
END


Organizations
""
"Search For:"
"(&(objectClass=organization)"
"dsgw-organizations"
not-used-by-dsgw
not-used-by-dsgw
subtree
"name"                          o			111111  ""       ""
"location"                      l			111111  ""       ""
"phone number"                  telephoneNumber		111011  ""       ""
"description"                   description		111011  ""       ""
END
"is"               		"(%a=%v))"
"is not"               		"(!(%a=%v)))"
"sounds like" 		        "(%a~=%v))"
"starts with"                   "(%a=%v*))"
"ends with"                     "(%a=*%v))"
"contains"                      "(%a=*%v*))"
END


"Org-Units"
""
"Search For:"
"(&(objectClass=organizationalUnit)"
"dsgw-orgunits"
not-used-by-dsgw
not-used-by-dsgw
subtree
"name"                          ou			111111  ""       ""
"location"                      l			111111  ""       ""
"phone number"                  telephoneNumber		111011  ""       ""
"description"                   description		111011  ""       ""
END
"is"               		"(%a=%v))"
"is not"               		"(!(%a=%v)))"
"sounds like" 		        "(%a~=%v))"
"starts with"                   "(%a=%v*))"
"ends with"                     "(%a=*%v))"
"contains"                      "(%a=*%v*))"
END

Anything
""
"Search For:"
""
"dsgw-anything"
not-used-by-dsgw
not-used-by-dsgw
subtree
"name" 		                cn                    111111  ""       ""
"description"                   description           111011  ""       ""
END
"is"               		"(%a=%v)"
"is not"               		"(!(%a=%v))"
"sounds like"                   "(%a~=%v)"
"starts with"                   "(%a=%v*)"
"ends with"                     "(%a=*%v)"
"contains"                      "(%a=*%v*)"
END

Auth
internal
"Authenticate As:"
# Filter prefix to append to all searches
"(&(objectClass=person)"
# Tag to use for "Fewer Choices" searches - from ldapfilter.conf file
"dsgw-people"
# If a search results in > 1 match, retrieve this attribute to help
# user disambiguate the entries...
not-used-by-dsgw
# ...and label it with this string:
not-used-by-dsgw
# Search scope to use when searching
subtree
# Follows a list of "More Choices" search options.  Format is:
# Label, attribute, select-bitmap, extra attr display name, extra attr ldap name
# If last two are null, "Fewer Choices" name/attributes used
"common name"                   cn                 111111  ""  ""
"surname"                       sn                 111111  ""  ""
"phone number"                 "telephoneNumber"  111011  ""  ""
"e-mail address"                "mail"             111111  ""  ""
"user id"                       "uid"              111111  ""  ""
"title"                         title              111111 "" ""
END
# Match types
"is"               		"(%a=%v))"
"is not"               		"(!(%a=%v)))"
"sounds like" 		        "(%a~=%v))"
"starts with"                   "(%a=%v*))"
"ends with"                     "(%a=*%v))"
"contains"                      "(%a=*%v*))"
END


# Name for this search object
"NT-People"
#options
""
# Label to place before text box user types in
"Search For:"
# Filter prefix to append to all searches
"(&(objectClass=ntuser)"
# Tag to use for "Fewer Choices" searches - from ldapfilter.conf file
"dsgw-ntpeople"
# If a search results in > 1 match, retrieve this attribute to help
# user disambiguate the entries...
not-used-by-dsgw
# ...and label it with this string:
not-used-by-dsgw
# Search scope to use when searching
subtree
# Follows a list of "More Choices" search options.  Format is:
# Label, attribute, select-bitmap, extra attr display name, extra attr ldap name
# If last two are null, "Fewer Choices" name/attributes used
"full name"                     cn                 111111  ""  ""
"last name"                     sn                 111111  ""  ""
"phone number"                  "telephoneNumber"  111011  ""  ""
"e-mail address"                "mail"             111111  ""  ""
"user id"                       "uid"              111111  ""  ""
"title"                         title              111111 "" ""
"NT username"                   "uid"              111111 "" ""
"NT Domain"                     "ntuserdomainid"   111111 "" ""
"NT logon server"               "ntuserlogonserver" 111111 "" ""
END
# Match types
"is"               		"(%a=%v))"
"is not"               		"(!(%a=%v)))"
"sounds like" 		        "(%a~=%v))"
"starts with"                   "(%a=%v*))"
"ends with"                     "(%a=*%v))"
"contains"                      "(%a=*%v*))"
END

